import {BrowserRouter,Switch,Route,Redirect} from 'react-router-dom';
import React from 'react';
import RouterView from './routerView';
import routes from './router.config'

function Router(){
    return <BrowserRouter>
        <RouterView routes={routes}></RouterView>
    </BrowserRouter>
}

export default Router;